home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000042_fdc@columbia.edu_Wed Apr 24 14:13:16 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
5KB
|
131 lines
Article: 13333 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally.
Date: 24 Apr 2002 14:13:05 -0400
Organization: Columbia University
Lines: 114
Message-ID: <aa6sjh$1a9$1@watsol.cc.columbia.edu>
References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <a8svsu$3vl$1@watsol.cc.columbia.edu> <3CBAB0BC.1D3ABF7B@yk.rim.or.jp> <3CC6E9D7.F4F2C624@yk.rim.or.jp>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1019671988 341 128.59.39.139 (24 Apr 2002 18:13:08 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 24 Apr 2002 18:13:08 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13333
In article <3CC6E9D7.F4F2C624@yk.rim.or.jp>,
Ishikawa <ishikawa@yk.rim.or.jp> wrote:
: >Has anyone noticed this sub-optimal speed
: >using Kermit on two closely
: >placed PCs at 38400 bps?
:
: It turned out that the apparent slowdown
: was an artifact of
: sending binary file, namely wermit.
: I got a much better throughput when
: I tried to send largish ascii file such as
: /etc/termcap.
:
: This was again the two ports connected
: directly by cross/null cable.
:
For best results, make sure the cable has RTS and CTS
crossed and that both Kermit programs have been told to:
set flow rts/cts
: It puzzled me for a while, but
: finally I figured it was a slowdown
: caused by the prefixing or quoting of
: binary characters:
:
: If I disable the prefixing via
:
: set control-character unprefixed all
:
: then I got an improved throughput.
: (With prefixing I got sub-3KB/sec throughput.
: Without prefixing I got over-3KB/sec throughput.)
:
: One would not usually remove prefixing
: unless we know the transmission occurs via
: clean direct connection.
: Kermit has a reason to be conservative. It is one of
: the best file transfer program
: under a noisy/lossy/disruptive
: environment.
:
Thanks :-) It is difficult to find the right defaults.
If we try too hard to go fast, then transfers don't work
on certain kinds of connections or with certain hosts.
If we try to hard to work under ALL conditions (as we did
in the early years), people complain that Kermit is slow.
Kermit can adapt to practically any situation, and
achieve the greatest possible thoughput, but since most
people don't care to find out about this, the defaults
are all that matter.
Control-character "unprefixing" is a relatively new
development (12 years ago?) that is somewhat risky but,
like everything else in Kermit, you can control it in
great detail: down to each individual C0 and C1 control
character ("help set control" for details).
You can also tell Kermit, when sending a file, to double
selected characters, which is necessary when passing
through certain non-transparent devices such as terminal
servers. And when receiving files, Kermit can be told
to discard selected characters that might have been added
by "something" that sits between the two Kermit programs
(for example, something that adds a linefeed every time
it sees a carriage return).
: The reason I got interested in the throughput was
: that I was curious to learn if
: the throughput improves when I use full 8 bits
: connection instead of 7 bits connection.
:
Of course it does. But control characters have nothing
to do with 7 versus 8 bits. On a 7-bit connection,
ALL 8-bit characters are prefixed, yet 7-bit (C0) control
characters can still be unprefixed.
: Obviously at this speed (38400), we are already close
: to the limit of serial port, and
: whether we use 7 bits or 8 bits isn't that important.
: Other overhead such as prefixing masks
: the improvement, if any, of using full 8 bit character
: transmission path.
:
If you have a truly transparent 8-bit path, then you can
use "set parity none" (which is the default anyway, or
"set parity hardware" if you need it) and "set prefixing
minimal" or "set prefixing none" and get very close to
the maximum physical speed of the port; sometimes faster,
because Kermit also does some compression.
: Thank you again for the great software package.
:
Our pleasure :-)
Since you like Kermit and you are in Japan, maybe now you
can play with Kermit's character-set conversion. Did you
know that when transferring a file in text mode (like
email, netnews, source code, etc), Kermit can translate
between any pair of EUC-JP (JIS X 0208), ISO-2022-JP,
Shift-JIS, JIS-7, DEC Kanji, and Unicode? For example,
to send a Japanese text file from a PC that uses
Shift-JIS to a Linux system that uses EUC-JP... On the PC:
set file character-set shift-jis
set transfer character-set utf8
send <filename>
On the Linux system:
set file character-set euc-jp
receive
- Frank